package cn.promonkey.api.teacher.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import cn.promonkey.core.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/** @author ninelock-ai */
@Data
@TableName("teacher")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Teacher extends BaseEntity { 
  /** 企业ID */
  @TableField(value = "business_id")
  private Long businessId;
  /** 教师介绍 */
  @TableField(value = "introduce")
  private String introduce;
  /** 教师ID */
  @TableId(value = "teacher_id", type = IdType.AUTO)
  @TableField(value = "teacher_id")
  private Long teacherId;
  /** 教师姓名 */
  @TableField(value = "teacher_name")
  private String teacherName;
  /** 教师号 */
  @TableField(value = "teacher_num")
  private String teacherNum;
  /** 联系方式 */
  @TableField(value = "telephone")
  private String telephone;
  /** 用户ID */
  @TableField(value = "user_id")
  private Long userId;
  
  @TableField(value = "college")
  private String college;
  @TableField(value = "department")
  private String department;
  @TableField(value = "major")
  private String major;
}
